Add an 8 pt fallback for unusually dense callouts - #761
Conversation
Dev DocRaptor validationTested the exact CDC K01 fixture on dev using commit
Deployment run: https://github.com/HHS/simpler-grants-gov/actions/runs/30018361630 Because CDC Default still splits the callouts across physical pages, this PR should remain open for adjustment. |
f074e86 to
24fdb15
Compare
|
@mikec-ai were we ready to review and merge this one in? I think it got stale for some reason. |
|
@benbrasso no - I need to circle back to this one. The solution that was tried didn't work for CDC. |
|
Closing without merge. Dev DocRaptor validation showed that the proposed 8 pt tier passed ACF Light but still split Key facts and Key dates across pages in CDC Default. Following product review, #759 is deferred because this case is expected to be exceptionally rare and can be handled with targeted support if it occurs. |




What changed
Why
The CDC K01 fixture investigated in #757 contains 153 combined callout words. Builder already applies its smallest current tier, 8.5 pt, but the production preview can still move the callouts to the next page.
This adds a narrowly targeted fallback without shrinking every callout currently above 99 words or requiring per-NOFO CSS.
Closes #759.
Validation
tinyclass and the newdenseclass.Dev verification needed before merge
Local browser PDF output is not authoritative because production uses DocRaptor and Prince. Please:
If the callouts still move to the next page, leave the PR open so the threshold or layout treatment can be adjusted before merge.